<template>
    <div id="app">
        <p>{{str}}</p>
        <p v-html="str">这里原有的东西,会被覆盖</p>


    </div>
</template>

<script>
    export default {
        name: "2v-html",
        data() {
            return {
             str:"ffffff"
            }
        },
    }
</script>

<style scoped>

</style>